package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.AlertDataDto;
import com.zzyl.entity.AlertData;
import com.zzyl.vo.AlertDataVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface AlertDataMapper {
    void batchInsert(List<AlertData> alertDataList);

    Page<AlertDataVo> pageQuery(AlertDataDto dto);


    void handleAlertData(@Param("id") Long id,
                         @Param("processingResult") String processingResult,
                         @Param("processingTime") LocalDateTime processingTime,
                         @Param("mgtUserId") Long mgtUserId,
                         @Param("nickName") String nickName);
}
